package com.example.demo_lihe.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Entity
@Table(name = "water_data")
public class WaterData {

    @Id
    @Column(name = "id")
    private Long id;

    @Column(name = "time")
    private Date time;

    @Column(name = "pointId")
    private Long pointId;

    @Column(name = "sensorId")
    private String sensorId;

    @Column(name = "cgqbh")
    private String cgqbh;

    @Column(name = "ms")
    private Double ms;

    @Column(name = "wd")
    private Double wd;

    @Column(name = "wdjzz")
    private Double wdjzz;

    @Column(name = "stage")
    private Double stage;


}
